<template>
	<div class="block">

		<el-carousel height="400px">
			<el-carousel-item v-for="item in res" :key="item">
				<img :src="item" alt="" style="height: 400px;width: 100%;">
			</el-carousel-item>

		</el-carousel>
	</div>
</template>

<script>
	let resData=[
		require("../assets/lunbo1.jpg"),
		require("../assets/lunbo2.jpg"),
		require("../assets/lunbo3.jpg")
	]
	export default {
		data(){
			return{
				res:resData
			}
		}

	}
</script>

<style scoped>
.block{
	margin-top: 20px;
}
</style>
